<style type="text/css">
<!--
.STYLE6 {color: #FF0000}
-->
</style>
      <div class="content bac">
        <?php require_once("template/".$BM_TEMPLATE."/right_time_info.php");?>
        <div class="fl left">
        <h2 class="h2"><?php echo $contest_title;?></h2>
        <div style="padding-top:10px;">
        <h3 class="h3">填写队伍信息</h3>
        </div>
        <div class="middle">
        <div class="borb">
  <form id="frm" class="validate" method=POST>
  <table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td height="35" colspan="2" align="center"><h3>报名信息表</h3></td>
    </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span>队伍名称:</td>
    <td><input maxlength='30' name="team_name" type="text" class="inpus1 req" id="team_name" value="<?php echo FillForm($team_name);?>"/></td>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span><?php echo $MSG_COACH;?>:</td>
    <td><input maxlength='30' name="team_coach" type="text" class="inpus1 req" id="team_coach" value="<?php echo FillForm($team_coach);?>"/></td>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">*</span> 联系方式:</td>
    <td><input maxlength='30' name="team_phone" type="text" class="inpus1 req" id="team_phone" value="<?php echo FillForm($team_phone);?>"/></td>
  </tr>
</table>
</div>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td width="140" height="35" align="right">&nbsp;</td>
    <td align="center"><strong>队员1</strong></td>
    <td align="center"><strong>队员2</strong></td>
    <td align="center"><strong>队员3</strong></td>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span>身份证号：</td>
    <?php 
    for ($i = 0; $i < 3; $i++) 
    {
    ?>
    <td align="left">
	    <input maxlength='20' type="text" class="inpus2 req" 
	    	<?php echo "id=stu_card$i name=stu_card$i value=\"" . FillForm($stu_card[$i]) . "\""; ?> 
	    />
    </td>
    <?php
    }
    ?>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">*</span> 学  号：</td>
    <?php 
    for ($i = 0; $i < 3; $i++) 
    {
    ?>
    <td align="left">
	    <input maxlength='20' type="text" class="inpus2 req"
	    	<?php echo "id=stu_number$i name=stu_number$i value=\"" . FillForm($stu_number[$i]) . "\""; ?> 
        />
    </td>
    <?php 
    }
    ?>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span>姓  名：</td>
    <?php 
    for ($i = 0; $i < 3; $i++) 
    {
    ?>
    <td align="left">
	    <input maxlength='20' type="text" class="inpus2 req"
	    	<?php echo "id=stu_name$i name=stu_name$i size=25 value=\"" . FillForm($stu_name[$i]) . "\""; ?> 
	    />
	</td>
    <?php 
    }
    ?>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span>专  业：</td>
    <?php 
    for ($i = 0; $i < 3; $i++) 
    {
    ?>
    <td align="left">
	    <input maxlength='20' type="text" class="inpus2 req"
	    	<?php echo "id=stu_major$i name=stu_major$i size=25  value=\"" . FillForm($stu_major[$i]) . "\""; ?> 
	    />
	</td>
    <?php 
    }
    ?>
  </tr>
  <tr>
    <td width="140" height="35" align="right"><span class="STYLE6">* </span>年  级：</td>
    <?php 
    for ($i = 0; $i < 3; $i++) 
    {
    ?>
    <td align="left">
	    <input maxlength='20' type="text" class="inpus2 req"
	    	<?php echo "id=stu_grade$i name=stu_grade$i size=25 value=\"" . FillForm($stu_grade[$i]) . "\""; ?> 
	    />
	</td>
    <?php 
    }
    ?>
  </tr>
  <tr>
    <td width="140" height="35" align="right">性  别：</td>
    <?php
    	for ($i = 0; $i < 3; $i++)
    		echo "<td align=center><select id=stu_sex$i name=stu_sex$i><option value=0" . ($stu_sex[$i] ? "" : " selected") . ">男</option><option value=1" . ($stu_sex[$i] ? " selected" : "") . ">女</option></select></td>";
	?>
  </tr>
  <tr>
    <td width="140" height="35" align="right">赛服尺码：</td>
    <?php
        $BmCodeAr = array(
        "M",
        "L",
        "XL",
        "XXL",
        "XXXL",
        "S",
        "XS",
        "XXS");
		for ($i = 0; $i < 3; $i++) 
		{
		    echo "<td align=center><select id=stu_cloth$i name=stu_cloth$i>";
		    for ($j = 0; $j < 8; $j++)
		        echo "<option value='$BmCodeAr[$j]' ".($BmCodeAr[$j] == $stu_cloth[$i] ? "selected" : "").">$BmCodeAr[$j]</option>";
		    echo "</select></td>";
		}
	?>
  </tr>
  <tr>
	<td align="right">&nbsp;</td>
	<td height="35" align="right"><span class="STYLE6">* </span><?php echo $MSG_VCODE?>：</td>
	<td align="left" colspan="2"><input name="vcode" type="text" class="inpus2 req" id="vcode" />
	<img alt="click to change" src=vcode.php onclick="this.src='vcode.php#'+Math.random()">
	</td>
  </tr>
  <tr>
    <td width="140" height="45" align="right">&nbsp;</td>
    <td colspan="3">
    <input type="image" name="submit" id="submit" src="<?php echo "./template/$BM_TEMPLATE/images/"; ?>02_03-16.jpg" onclick="return vify_sf_card();"/> <!-- onclick="return vify_sf_card();" --> 
	<a href="<?php echo $BM_HOME."/suanfa.php?cid=".$cid;?>" id="imageField4"><img border=0 src="<?php echo "./template/$BM_TEMPLATE/images/"; ?>02_05-18.jpg"></a>
  </tr>
</table>
	<input type='hidden' name='do' value='do'>
<?php require_once("./include/set_post_key.php");?>
</form>
        </div>
        </div>
        <div class="clr"></div>
